package com.fernfx.xingtan.main.contract;

import android.content.Intent;

import com.baidu.location.BDLocation;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.model.LatLng;
import com.fernfx.xingtan.common.network.IRequestCallback;
import com.fernfx.xingtan.main.entity.RobRedPacketEntity;
import com.fernfx.xingtan.main.ui.ChatFragment;

import java.util.List;
import java.util.Map;

import io.rong.imkit.fragment.ConversationListFragment;

/**
 * Created by admin on 2018/8/9.
 */

public interface ChatContract {
    interface View {
        ConversationListFragment getConversationListFragment();

        ChatFragment getChatFragment();

        void showRobRedPacket(List<RobRedPacketEntity.ObjBean.RecordsBean> records);

        void setCircleScope(int scope);

        void requestRobredPacket(BDLocation location);
    }

    interface Presenter {
        void init(ChatContract.View view);

        void isReconnect(Intent intent);

        void requestRobRedPacket(Map<String,Object> requestArgsMap);
    }

    interface Model{
        void requestRobRedPacket(Map<String,Object> requestArgsMap,IRequestCallback iRequestCallback);
    }
}
